<script type="text/javascript" src="js/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
<script type="text/javascript">
$(function(){
	<?php echo "var aa='".$vo['Profession']."';";?>

	$("#profession").val(aa);	
		$("#datepicker" ).datepicker({
			changeMonth: true,
			changeYear: true
		});
})

</script>
<div class="box_shadow mt14 p13">
		<div class="hp_tab">
	<ul class="hp_lt">
		<li class="active red"><a href="/settings/setPersonal">个人设置</a></li>
	</ul>
</div>
  <div class="settings-page-wraper">
  <div class="settings_box">
	<div id="setting_box_promtrealname" class="setting_box_promt"></div>
	<div id="setting_box_promtnickname" class="setting_box_promt"></div>
	  <form id="personalForm" action="?r=setting/setPersonal" onsubmit="return checkPersonalForm();" method="POST" style="padding: 20px 0;">
	    <table id="ext_info_tab">
	
	<tbody>

		<tr class="ext_info_r">
		<td class="ext_info_d1">性别：</td>
		<td class="ext_info_d2">
		<input name="Sex" type="radio" value="1" class="info_radio01" <?php if ($vo['Sex']==1) echo 'checked';?>><label>男</label>
		<input name="Sex" type="radio" value="0" class="info_radio01" <?php if ($vo['Sex']==0) echo 'checked';?>><label>女</label>&nbsp;&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
	<tr class="ext_info_r">
		<td class="ext_info_d1">生日：</td>
		<td><input  type="text" name="Birthday" id="datepicker" value="<?php echo $vo['Birthday'];?>"></td>
	</tr>
		<tr class="ext_info_r">
		<td class="ext_info_d1">电话：</td>
		<td class="ext_info_d2"><input  type="text" name="Tel" id="tel" class="easyui-datebox" value="<?php echo $vo['Tel'];?>"></td>
	</tr>
	<tr class="ext_info_r">
		<td class="ext_info_d1">地址：</td>
		<td colspan="2"><div id="address">
		<select id='Select1' name="province" style='width: 100px'></select>
    	<select id='Select2' name="city" style='width: 100px'></select>
    	<select id='Select3' name="county" style='width: 100px'></select></div>
	</td>
	</tr>

	<tr class="ext_info_r">
		<td class="ext_info_d1">从事行业：</td>
		<td class="ext_info_d2">
<select name="Profession" id="profession">
	<option value="0">请选择你的职业</option>
		<option value="1">公关</option>
			<option value="2">媒体</option>
			<option value="3">模特</option>
			<option value="4">设计师</option>
			<option value="5">市场/营销</option>
			<option value="6">创意/文案</option>
			<option value="7">广告</option>
			<option value="8">法律</option>
			<option value="9">贸易</option>
			<option value="10">公务员</option>
			<option value="11">教育</option>
			<option value="12">互联网</option>
			<option value="13">计算机</option>
			<option value="14">自由职业</option>
			<option value="15">学生</option>
			<option value="16">非盈利机构</option>
			<option value="17">保险</option>
			<option value="18">财务</option>
			<option value="19">餐饮</option>
			<option value="20">电子/微电子</option>
			<option value="21">翻译</option>
			<option value="22">房地产/建筑</option>
			<option value="23">航空航天</option>
			<option value="24">家电业</option>
			<option value="25">家居/室内设计</option>
			<option value="26">教育/培训</option>
			<option value="27">酒店</option>
			<option value="28">会计</option>
			<option value="29">科研/院校</option>
			<option value="30">快速消费品</option>
			<option value="31">零售</option>
			<option value="32">旅游</option>
			<option value="33">其他</option>
	</select>
</td>
	</tr>
	<tr class="ext_info_r">
		<td colspan="2">
			<div class="askPage_breakDashedLIne"></div>
		</td>
	</tr>
	<tr class="ext_info_r">
		<td class="ext_info_d1"></td>
		<td class="ext_info_d2">
			<div id="setting_hint" style="display:none;color:#999999; float:left;"></div>
			<div id="setting_succ_hint" style="display:none;color: green; float:left;"></div>
		</td>
	</tr>

	<tr>
		<td></td>
		<td class="ext_info_d2">
			<input type="submit" value="保存" class="ext_submit" name="submit">
		</td>
	</tr>
	</tbody></table>

</form>
</div>
<div style="clear:both"></div>
<div style="clear:both">
<?php echo $message;?> 
</div>
</div>
	</div>


<script type="text/javascript" src="js/liandong/AreaData.js"></script>
<script type="text/javascript" src="js/liandong/plugin.js"></script>
<script type="text/javascript">

//通用三级联动说明
//参数配置如下，配置select的三个ID和默认值就行，无默认值填写为null

<?php echo "var addr=\"".$vo['Address'].'";';?>
var data_adrr = addr.split(',');
var defaults = {
	s1:'Select1',
	s2:'Select2',
	s3:'Select3',
	v1:data_adrr[0],
	v2:data_adrr[1],
	v3:data_adrr[2]
};
</script>